package com.cssw.fyzb.core.dao.video;

import com.cssw.fyzb.core.model.dodb.CmfVideoHotInst;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author YangYiQun
 */
public interface VideoHotInstDao {

    /**
     * 根据主键查询
     *
     * @param hotId
     * @return
     */
    CmfVideoHotInst findById(Long hotId);

    /**
     * 保存热点数据
     *
     * @param hotId
     * @return
     */
    Long save(Long hotId, Integer hotValue, Long videoId,
              BigDecimal price, Integer hotTime, String hotOprCode, Date startTime, Date endTime);

}
